package com.bwie.live.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.common.utils.PageUtils;
import com.bwie.common.utils.Query;

import com.bwie.live.dao.LiveInnerDao;
import com.bwie.live.entity.LiveInnerEntity;
import com.bwie.live.service.LiveInnerService;


@Service("liveInnerService")
public class LiveInnerServiceImpl extends ServiceImpl<LiveInnerDao, LiveInnerEntity> implements LiveInnerService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LiveInnerEntity> page = this.page(
                new Query<LiveInnerEntity>().getPage(params),
                new QueryWrapper<LiveInnerEntity>()
        );

        return new PageUtils(page);
    }

}